-
Notifications
You must be signed in to change notification settings - Fork 823
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement track style changes from #136 #447
Conversation
This is a rewrite of gravitystorm#205 Closes gravitystorm#205 Fixes gravitystorm#446
@gravitystorm Anything I can do to help with a review, or just waiting for time? |
I've had a look at this again today.
It would be good to have comments from @math1985 too. Most of the questions above I can answer myself, next time I look at it in more detail. |
Yes, I'm planning to have a look at it. |
@pnorman thank you for the effort, it looks a lot better now, both in code and in output. Some comments:
If these issues are resolved, I would like to see this change request merged. |
@pnorman Do you agree with my comments? Let me know if you need any help. |
I'm not going to have time to get to this in the near future.
We're trying to show an "unknown" meaning
We might need to change opacity with zoom then, I increased it because the tracks were hard to see in my test area. |
No problem, thank you for your work so far. I can take over (it is only minor changes that still need to be done). Is there a way to pull your branch and then create a PR for gravitystorm rather than for you?
What was the background? I mainly looked at tracks through forests. |
http://www.openstreetmap.org/#map=13/52.1059/-1.1447 was the general area. I just downloaded it from overpass and loaded it locally. I had the downloaded file open in JOSM too so I could find particular combinations (e.g. a track tunnel next to a track non-tunnel, both with tracktype). There are all tracktypes in the area, as well as many over bridges or in tunnels. Part of the issue is there's many footways in the region, and the footways are stronger than the tracks. Of course, footway rendering does kind stick out excessively at low zoom (#243), so perhaps we shouldn't give that too much consideration, and revise the low-zoom footway rendering later. |
Yes. This should work git remote add pnorman https://github.com/pnorman/osm2pgsql.git
git fetch pnorman
git checkout pnorman/track_rewrite2
git checkout -b track_rewrite3 Since there's been other changes, you probably also want to do |
See #205 for images. The previous track style was a mess, but a review of code style would be a good idea.